package com.tanhua.dubbo.api;
import com.tanhua.model.db.Options;
import com.tanhua.model.db.Questions;
import com.tanhua.model.db.SoulPaper;
import com.tanhua.model.mongo.UserReport;

import java.util.List;


public interface SoulPaperApi {
    //查询问卷
    List<SoulPaper> findSoul();

    //查询题目
    List<Questions> findQuestions();

    //查询问题选项表
    List<Options> findOptions();

    //根据选项生成报告
    UserReport findReport(List<Long> optionIds,Long soulPaperId,Long userId);
}
